# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=py3-pyroute2.ethtool
_pkgname=pyroute2.ethtool
pkgver=0.6.9
pkgrel=0
pkgdesc="Python Netlink library: ethtool"
url="https://github.com/svinota/pyroute2"
arch="noarch"
license="GPL-2.0-or-later OR Apache-2.0"
makedepends="py3-setuptools"
depends="py3-pyroute2.core"
options="!check" # not supported for pr2modules namespace
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
e6c969ce7a0b41ca7cd321900c9825992224758ce3f1a79fcb85e16ca931948ee8073cce69cffe21ab0f30093401ab7653548444ee427648afa40093690afb57  pyroute2.ethtool-0.6.9.tar.gz
"
